#pragma once
#include<iostream>
#include<time.h>
#include<stdlib.h>
#include<memory>
#include"C++_queue顺序实现队列（循环队列）.h"
using namespace std;
struct PatientInformation;
struct ReturnInformation;
ReturnInformation Simulate();
ReturnInformation MultipleSimulations();
struct PatientInformation
{
	PatientInformation()
		:_arrive(rand() % (15 + 1))
		,_treat(rand() % 13 + 3)//注意此处应为13 + 3
	{
	}
	void Print()
	{
		cout << "arrive: " << _arrive << endl;
		cout << "treat: " << _treat << endl;
	}
	size_t _arrive = 0;
	size_t _treat = 0;
};

struct ReturnInformation
{
	ReturnInformation(double doctorwait, double npatientwait, double num)
		:_doctorwait(doctorwait)
		,_npatientwait(npatientwait)
		,_num(num)
	{
	}
	double _doctorwait = 0;
	double _npatientwait = 0;
	double _num = 0;
};

